﻿using StudentInfoSystem.UI.ViewModels;
using System.Windows.Controls;
using StudentInfoSystem.Core.Interfaces;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using StudentInfoSystem.Core.Models;
namespace StudentInfoSystem.UI.Views.Pages;

public partial class StudentListView : UserControl
{
    private StudentListViewModel _viewModel;
    public StudentListView()
    {
        InitializeComponent();
        _viewModel = new StudentListViewModel(AppSettings.Instance);
        DataContext = _viewModel;
    }
}